﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MathTest
{
    /// <summary>
    /// 试题测试系统主窗体
    /// </summary>
    public partial class MainForm : Form
    {
        #region 构造函数
        public MainForm()
        {
            InitializeComponent();
        }
        #endregion

        #region 事件


        private void 添加试题ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddExaminationForm addForm = new AddExaminationForm();
            addForm.ShowDialog();
        }

        private void 开始答题ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AnswerQuestionsForm answerForm = new AnswerQuestionsForm();
            answerForm.ShowDialog();
        }

        private void 查询成绩ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewTheResultsForm viewForm = new ViewTheResultsForm();
            viewForm.ShowDialog();
        }
        #endregion
    }
}
